﻿#region 信息

// Copyright©2014 Rex Rao all rights reserved.
// File name : SoMcCoffee\Sohobloo.SoPermission.Web\RouteConfig.cs
// Author : Sohobloo
// Create time : 2014/02/20 21:07
// Update time : 2014/02/20 21:26

#endregion

#region 引用

using System.Web.Mvc;
using System.Web.Routing;

#endregion

namespace Sohobloo.SoPermission.Web
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute("Default", "{controller}/{action}/{id}",
                new {controller = "Home", action = "Index", id = UrlParameter.Optional}
                );
        }
    }
}